/*

@description: 关于我们（style）

@author: 赖赖

@update: 2021年9月7日09:50:31

*/
header > nav > .dhzk > .xl > a > h1 {
    left: 262px;
    top: 96px;
}
main{
    
    // 关于我们
    .gywm{
        height: 440px;
        background: url('	https://www.jdl.cn/_nuxt/img/banner.dee142a.jpg');
        background-size: cover;
        
        hgroup{//主体
            width: 1200px;
            margin: auto;
            display: flex;
            flex-direction:column;
            justify-content:center;

            h1{//标题1
                margin-top: 110px;
                font-size: 45px;
                color: rgb(250,250,250);
            }
        }
    }

    // 企业理念
    .ln{
        padding-top: 50px;
        background: url("https://www.jdl.cn/_nuxt/img/bg-01.79ad388.jpg");
        height: 638px;
        background-size: cover;
        text-align: center;

        span{// 标题
            width: 140px;
            padding-bottom: 5px;
            font-size: 30px;
            border-bottom: 5px solid rgb(226,35,26);
        }

        .lxjs{//理念介绍
            width: 1200px;
            height: 388px;
            margin: auto;
            margin-top: 104px;
            background: rgb(250,250,250);
            box-shadow: 0 0 4px 2px rgb(210, 210, 210);
            position: relative;

            .dt{//大图片
                position: absolute;
                left: 50px;
                bottom: 40px;
            }

            // 理念详细内容
            ul{
                float: right;
                display: grid;
                grid-template-columns: repeat(2,50%);
                gap: 20px;
                transform: translate(-55px,20px);

                li{
                    position: relative;
                    img{
                        width: 300px;
                        height: 150px;
                        background-size: cover;
                    }

                    hgroup{
                        position: absolute;
                        top: 15px;
                        left: 15px;
                        
                        h1{
                            font-size: 16px;
                            text-align: left;
                        }

                        .x{
                            margin: 8px 0;
                            width: 20px;
                            height: 3px;
                            background: rgb(226, 35, 26);
                        }

                        p{
                            width: 224px;
                            font-size: 14px;
                            text-align: left;
                            color: rgb(102, 102, 102);
                        }
                    }
                }
            }
        }
    }
    
    // 主体底部
    .db{
        height: 620px;
        padding-top: 80px;
        box-sizing: border-box;
        background: url("https://www.jdl.cn/_nuxt/img/bg-02.b556ef4.jpg");
    
        ul{
            width: 1200px;
            margin: auto;
            display: grid;
            grid-template-columns: repeat(3,360px);
            justify-content: center;
            gap:40px;

            li{
                position: relative;

                // img{
                //     filter: blur(2px);
                // }

                span{
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%,-50%);
                    font-size: 24px;
                    color: rgb(250,250,250);
                    font-weight: 700;
                }

                .xg{// 悬浮效果框
                    position: absolute;
                    top: 0;
                    left: 0;
                    // width: 100%;
                    width: 0;
                    height: 97.9%;
                    background: rgba(255, 0, 0,0.5);
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    transition: all 0.5s;

                    .bt{ // 标题
                        width: 180px;
                        position: absolute;
                        top: 0;
                        left: 130px;
                        font-size: 24px;
                        color: rgb(250,250,250);
                        font-weight: 700;
                        transition: all 0.6s;
                        opacity: 0;
                    }

                    .gd{// 了解更多
                        position: absolute;
                        left: 85px;
                        // left: 85px;
                        bottom: 0;
                        width: 145px;
                        font-size: 16px;
                        color: rgb(250,250,250);
                        text-align: center;
                        padding: 10px 20px;
                        border: 2px solid rgb(250,250,250);
                        border-radius: 25px;
                        opacity: 0;
                        transition: all 0.6s;
                    }
                }
            }
            
            li:hover > .xg {
                width: 100%;
                opacity: 1;
            }
            
            li:hover > span {
                opacity: 0;
            }
            li:hover > .xg > .bt {
                top: 52px;
                opacity: 1;
            }
            li:hover > .xg  .gd {
                bottom: 52px;
                opacity: 1;
            }
        }
    }
}